﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace UI.HeatMaps
{
    public class HeatMapData:IComparable<HeatMapData>
    {
        public int Row { get; set; }
        public int Column { get; set; }
        public double Value { get; set; }
        public string Label { get; set; }
        public object Tag { get; set; }

        #region Implementation of IComparable<HeatMapData>
        public int CompareTo(HeatMapData other)
        {
            if (this.Row != other.Row)
                return this.Row.CompareTo(other.Row);
            else
                return this.Column.CompareTo(other.Column);
        }

        #endregion
    }
}
